home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm2
/
mfstlntd.lha
/
telnetd2_0.lha
/
telnetd-2.0
/
source
/
NoReq.c
next >
Wrap
C/C++ Source or Header
|
1995-02-11
|
393b
|
20 lines
/*
* NoReq disables requesters in the current shell.
* This code is public domain.
*/
#include <dos/dosextens.h>
#include <proto/exec.h>
int startup(void)
{
struct Process *Proc;
struct Library *SysBase;
SysBase = *((struct Library **) 0x00000004);
Proc = (struct Process *) FindTask(NULL);
Proc->pr_WindowPtr = (APTR) -1L;
return (0);
}